package com.qingfeng.medical.biz.hosp.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 科室管理
 * 
 * @author 清风学Java
 * @date 2023-04-08 23:43:31
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "科室-门诊保存实体")
public class HospDepartmentUpdateDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "旧科室的名字 （唯一的）")
	@NotBlank(message = "旧科室的名字不能为空")
	private String oldDepName;

	@ApiModelProperty(value = "科室的名字 （唯一的）")
	@NotBlank(message = "科室的名字不能为空")
	private String depName;

	@ApiModelProperty(value = "旧科室编码 （唯一的）")
	@NotBlank(message = "旧科室编码的名字不能为空")
	private String oldDepCode;

	@ApiModelProperty(value = "科室编码 （唯一的）")
	@NotBlank(message = "科室编码的名字不能为空")
	private String depCode;

	@ApiModelProperty(value = "旧科室下的门诊名")
	private String oldPatientName;

	@ApiModelProperty(value = "科室下的门诊名")
	private String patientName;

	@ApiModelProperty(value = "旧门诊编号")
	private String oldPatientCode;

	@ApiModelProperty(value = "门诊编号")
	private String patientCode;

	@ApiModelProperty(value = "旧门诊介绍")
	private String oldIntro;

	@ApiModelProperty(value = "门诊介绍")
	private String intro;

}
